package backend;

import backend.logging.LoggerMessageFormat;

public class MySQLException  extends RuntimeException {

    /**
     * Construct a <code>ElasticsearchException</code> with the specified cause exception.
     */
    public MySQLException(Throwable cause) {
        super(cause);
    }

    /**
     * Construct a <code>ElasticsearchException</code> with the specified detail message.
     *
     * The message can be parameterized using <code>{}</code> as placeholders for the given
     * arguments
     *
     * @param msg  the detail message
     * @param args the arguments for the message
     */
    public MySQLException(String msg, Object... args) {
        super(LoggerMessageFormat.format(msg, args));
    }

}
